$(function () {
    createWxQrcodeLogin();
})

//生成二维码
function createWxQrcodeLogin(){

    var obj = new WxLogin({
        self_redirect:false,
        id:"login_pc",
        appid: "wxb90d59ffb6e50089",
        scope: "snsapi_login",
        redirect_uri: encodeURIComponent("http://open-family.wdiplumbing.com/openuser/loginCallback"),
        state: AXENT_USER,
        style: "black",
        href: "",
    });

}
